package com.iot08.api.vo.request;

import com.iot08.api.vo.request.base.BodyFormAccount;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author cwj
 * @description
 * @date 2024/12/29 13:51
 **/
@Data
public class PayOrderReqBodyFormVo extends BodyFormAccount implements Serializable {

    @NotEmpty(message = "参数type不能为空")
    private String payType;

    //产品id
    @NotNull(message = "产品id不能为空")
    private String pid;

    //支付金额
    @NotNull(message = "支付金额不能为空")
    private BigDecimal payAmount;

    //产品原价
    private BigDecimal originalCost;

    //支付币种
    private String currency;

    //会员等级（1，2，3，4，5......）
    private Integer grade;

    //会员类型（1：月，2：年，3：永久）
    private Integer type;

    //是否同意会员协议
    private Integer isAgreeVipProtocol;


}
